﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Constants.cs" company="Lambros Vasiliou">
//   © 2013
// </copyright>
// <summary>
//   The constants.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace LV.EnhancedNew
{
    /// <summary>
    /// The constants.
    /// </summary>
    internal static class Constants
    {
        #region Constants

        /// <summary>
        /// The create new document aspx url.
        /// </summary>
        internal const string CreateNewDocumentAspxUrl = "_layouts/15/CreateNewDocument.aspx";

        /// <summary>
        /// The icon images folder url.
        /// </summary>
        internal const string IconImagesFolderUrl = "_layouts/15/Images/";

        /// <summary>
        /// The new document script command template.
        /// </summary>
        internal const string NewDocumentScriptCommandTemplate = "javascript:CoreInvoke('createNewDocumentWithRedirect2', event, '{0}', '{1}', '{2}', false, '{3}?id={0}', true, 1, '{4}');SP.UI.ModalDialog.commonModalDialogClose(SP.UI.DialogResult.OK, null);";

        /// <summary>
        /// Owner of the Web Configuration modifications.
        /// </summary>
        internal const string WebConfigModificationOwner = "LV.EnhancedNew";

        #endregion
    }
}